package cn.com.taurus.impl;

import cn.com.taurus.bean.FundManagerWebBean;
import cn.com.taurus.bean.FundWebBean;
import cn.com.taurus.entity.Fund;
import cn.com.taurus.mapper.FundManagerWebBeanMapper;
import cn.com.taurus.mapper.FundWebBeanMapper;
import cn.com.taurus.service.FundManagerWebBeanService;
import cn.com.taurus.service.FundWebBeanService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class FundWebBeanImpl implements FundWebBeanService {
    @Autowired
    FundWebBeanMapper fundWebBeanMapper;


    @Override
    public Integer selectManagerFundCountById(String fmId) {
        return fundWebBeanMapper.selectManagerFundCountById(fmId);
    }

    @Override
    public FundWebBean selectFundDataByFId(String fId) {
        return fundWebBeanMapper.selectFundDataByFId(fId);
    }
}
